package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.woniu.common.dto.WaresDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName deal_order
 */
@TableName(value ="deal_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DealOrder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer orderId;

    /**
     * 
     */
    private Integer userId;



    /**
     * 
     */
    @TableField(exist = false)
    private WaresDTO waresDTO;
    private Integer serverId;
    @TableField(exist = false)
    private ServePerson servePerson;
    private Integer categoryId;
    @TableField(exist = false)
    private WaresCategory waresCategory;
    private Integer skuId;
    @TableField(exist = false)
    private WaresSku waresSku;
    /**
     * 
     */
    private String orderNum;

    /**
     * 
     */
    private String orderName;

    /**
     * 
     */
    private BigDecimal orderPrice;

    /**
     * 
     */
    private BigDecimal orderAmout;

    /**
     * 
     */
    private String orderStatus;

    /**
     * 
     */
    private String orderPlacedate;

    /**
     * 
     */
    private String orderPaydate;

    /**
     * 
     */
    private String orderAcceptdate;

    /**
     * 
     */
    private String orderFinishdate;

    /**
     * 
     */
    private String orderPaymethod;

    /**
     * 
     */
    private String orderSource;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}